package com.ruoyi.oto.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.*;

/**
 * 产品门类实体
 */
@Data
@TableName("product_cate")
@EqualsAndHashCode(callSuper=false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ProductCate extends BaseEntity<ProductCate> {
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     *分类名称
     */
    private Long name;
    /**
     *父级ID
     */
    private Long parentId;
    /**
     * 是否删除
     */
    private Integer delFlag;


}
